<template>
	<view class="zy-container">
		<view class="zy-body">
			<component :is="currentPage"></component>
		</view>
		<!-- <tabbar class="zy-tab"></tabbar> -->
	</view>
</template>

<script>
	import tabbar from '@/public/tabbar.vue';
	import ShelvesIndex from '@/pages/shelves/ShelvesIndex.vue';
	import MeIndex from '@/pages/me/MeIndex.vue';
	import StudyIndex from '@/pages/study/StudyIndex.vue';
	import TypeIndex from '@/pages/type/TypeIndex.vue';
	
	export default {
		name: "index",
		data() {
			return {
				currentPage:ShelvesIndex,
			}
		},
		components: {
			tabbar,
			ShelvesIndex,
			MeIndex,
			StudyIndex,
			TypeIndex
		}
	}
</script>

<style>
</style>
